﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="outWeb.aspx.cs" Inherits="system_xtgl_outWeb" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Assembly="MagicAjax" Namespace="MagicAjax.UI.Controls" TagPrefix="ajax" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
     <link href="../css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
     <ajax:AjaxPanel ID="AjaxPanel2" runat="server" width="100%">
    <div style="height: 370px;">
    <asp:Repeater ID="Repeater1" runat="server">
<HeaderTemplate>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr bgcolor="#0099FF">
    <td width="5%" height="30" class="topStyle" style="text-align:center;">
       </td>
    <td width="55%" height="30" class="tdStyle"> &nbsp;&nbsp;<font color="#ffffff"><b>站外链接地址</b></font></td>
    <td width="30%" height="30" class="tdStyle"> &nbsp;&nbsp;<font color="#ffffff"><b>站外链接名称</b></font></td>
    <td width="10%" height="30" class="tdStyle"> &nbsp;&nbsp;<font color="#ffffff"><b>操作</b></font></td>
  </tr>
</table>
</HeaderTemplate>
    <ItemTemplate>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr bgcolor="#CCCCCC">
            <td width="5%" height="30" class="ReptopStyle" style="text-align:center;">
                <asp:Label ID="Label1" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "pkID")%>' Visible="false"></asp:Label>
                <asp:CheckBox ID="CB_ALLSelect" runat="server" /></td>
            <td width="55%" height="30" class="ReptdStyle"> &nbsp;&nbsp;<a href='<%# DataBinder.Eval(Container.DataItem, "linkplace")%>'>
          <%# DataBinder.Eval(Container.DataItem, "linkplace")%>
              <asp:Label ID="Label2" runat="server" Visible="false"><%# DataBinder.Eval(Container.DataItem, "pkID")%></asp:Label>
          </a></td>
            <td width="30%" height="30" class="ReptdStyle"> &nbsp;&nbsp;<%# DataBinder.Eval(Container.DataItem, "linkname")%></td>
            <td width="10%" height="30" class="ReptdStyle"> &nbsp;&nbsp;
                <asp:LinkButton ID="LinkBupdate" runat="server" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "pkID")%>' OnClick="LinkBupdateClick">修改</asp:LinkButton>&nbsp;&nbsp;
                <asp:LinkButton ID="LinkBdelete" runat="server" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "pkID")%>' OnClick="LinkBdeleteClick">删除</asp:LinkButton></td>
          </tr>
        </table>
    </ItemTemplate>
</asp:Repeater>
<div> <asp:CheckBox ID="CB_All" runat="server" OnCheckedChanged="CB_AllCheckedChanged" AutoPostBack="true" Text="全选"/>&nbsp;
    <asp:CheckBox ID="CB_FXSelect" AutoPostBack="true" runat="server" Text="反选" OnCheckedChanged="CB_FXSelect_CheckedChanged" />
    &nbsp;<asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Text="删  除" /></div>
    </div>
    
    <div>  <webdiyer:aspnetpager id="AspNetPager1" runat="server" OnPageChanging="AspNetPager1_PageChanging" CssClass="paginator" CurrentPageButtonClass="cpb" FirstPageText="首页"
Font-Size="12px" LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页"
ShowBoxThreshold="11" SubmitButtonText="跳转" PageIndexBoxType="DropDownList"></webdiyer:aspnetpager></div>
<br />
<div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td style="width: 12%; height: 33px; text-align: center;" class="topStyle">
        <asp:Label ID="Label1" runat="server" Text="链接名称："></asp:Label></td>
    <td width="84%" style="height: 33px" class="tdStyle">
        &nbsp;
        <asp:TextBox ID="TB_linkname" runat="server" Width="613px"></asp:TextBox></td>
  </tr>
  <tr>
    <td style="width: 12%; height: 28px; text-align: center;" class="ReptopStyle">
        <asp:Label ID="Label2" runat="server" Text="链接地址："></asp:Label></td>
    <td width="84%" style="height: 28px" class="ReptdStyle">
        &nbsp;
        <asp:TextBox ID="TB_linkplace" runat="server" Width="613px"></asp:TextBox></td>
  </tr>
        <tr>
            <td style="width: 12%; height: 37px" class="ReptopStyle">
            </td>
            <td style="height: 37px" width="84%" class="ReptdStyle">
                &nbsp;<asp:Label ID="Label3" runat="server" Visible="false"></asp:Label>
                <asp:Button ID="Button1" runat="server" Text="添  加" OnClick="Button1_Click" />
                &nbsp;&nbsp;
                <asp:Button ID="Button2" runat="server" Text="重  置" OnClick="Button2_Click" /></td>
        </tr>
</table>
</div>
    </ajax:AjaxPanel>
    </form>
</body>
</html>
